package com.example.livereplay.common.model.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;

@Data
@EqualsAndHashCode
public class CreateLiveStreamRequest {
    @Schema(description = "赛事名称")
    @NotEmpty(message = "赛事名称不能为空")
    private String name;

    @Schema(description = "比赛开始时间")
    @NotEmpty(message = "比赛开始时间不能为空")
    private Long gameStartTime;

    @Schema(description = "比赛结束时间")
    @NotEmpty(message = "比赛结束时间不能为空")
    private Long gameEndTime;

    @Schema(description = "场次开始时间")
    @NotEmpty(message = "场次开始时间不能为空")
    private Long placeStartTime;

    @Schema(description = "场次结束时间")
    @NotEmpty(message = "场次结束时间不能为空")
    private Long placeEndTime;

    @Schema(description = "场地名称")
    @NotEmpty(message = "场地名称不能为空")
    private String placeName;

    @Schema(description = "用户id")
    @NotEmpty(message = "用户id不能为空")
    private String userId;
}
